Copy paste this code and save it as 'Rebex trial keygen.linq'. Then run it in linqpad. It will generate a trial license.

This trial license will be valid for 64 days. If your application won't run longer than that you are fine. Just embed the code in your application and set the license key every time you start the application.

Generating a normal license isn't possible, the key is too strong and I didn't want to patch.
Code:

<Query Kind="Statements">
  <Reference>&lt;ProgramFilesX86&gt;\Rebex Components 2017 R4\bin\net-4.0\Rebex.Common.dll</Reference>
  <Namespace>Rebex.Security.Cryptography</Namespace>
</Query>

var forBuild = 65535;
var validTillDate = DateTime.Now.AddDays(64).Subtract(new DateTime(2010, 12, 31)).TotalDays;

var forgedBytes = new byte[16];
forgedBytes[0] = (byte)(validTillDate / 256);
forgedBytes[1] = (byte)(validTillDate % 256);
forgedBytes[2] = (byte)(forBuild / 256);
forgedBytes[3] = (byte)(forBuild % 256);

var output = new byte[32];
output[0] = 7;
var rnd = new Random();
for (var x = 1; x < 13; x++)
    output[x] = (byte)rnd.Next(1, 256);

Array.Copy(forgedBytes, 0, output, 14, forgedBytes.Length);

var rsaManaged2 = new RSAManaged();
rsaManaged2.FromXmlString("<RSAKeyValue><Modulus>thycVKzZzdxBD6Rl8RoS9MEs1rrLY5qDhse+a+ljfpM=</Modulus><Exponent>AQAB</Exponent><P>xJXNbvuhJEpA647ZChJHMQ==</P><Q>7Sb4m1/8WXGGL/2Zw075Aw==</Q><DP>VtattvbkyfkbEHM7oN1OIQ==</DP><DQ>0kQaatCpErjYDBbjTUro9w==</DQ><InverseQ>AVeR8pKZ4H05p7NRb02kNw==</InverseQ><D>ENshFS1Sk51ZYEtFLEXPjzPUmZbbIak0S+dyUK5o/sE=</D></RSAKeyValue>");

var decrypted = rsaManaged2.DecryptValue(output);

var key = "==A" + Convert.ToBase64String(decrypted) + "=";
=================
www.downloadly.ir